package javase.javase02.networkprograming;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.DatagramSocket;
import java.net.InetAddress;

/**
 * @author: Gan
 * @date 2021/4/23 0023 22:02
 * @description: 3.实现多线程聊天(用 UDP TCP 都可以)
 **/
public class Day22Work3Send implements Runnable {
    DatagramSocket socket = null;
    BufferedReader reader = null;
    private String toIP;
    private int toPort;
    private int fromPort;

    public Day22Work3Send(String toIP, int toPort, int fromPort) {
        this.toIP = toIP;
        this.toPort = toPort;
        this.fromPort = fromPort;
    }
    /*socket = new DatagramSocket(fromPort);
    reader = new BufferedReader(new InputStreamReader(System.in));*/

    @Override
    public void run() {

    }
}
